str = 'abcdef'
print (str[-1::-1])

list = ['a','b','c','d','e','f']
print (list[-1::-1])